from django.urls import path
from reimbursement import server,views
from django.views.decorators.csrf import csrf_exempt  # 解决跨域

urlpatterns = [
    #shp 2025-02-11 新增view
    path('view/getexecl',csrf_exempt(views.buttunview)),

    #shp 2025-02-11 新增api
    path('api/getrbmexecl', csrf_exempt(server.getrbmexecl)),
    path('api/getTravelReimburse', csrf_exempt(server.getTravelReimburse)),
    path('api/addTravelReimburse', csrf_exempt(server.addTravelReimburse)),
    path('api/deleteTravelReimburse', csrf_exempt(server.deleteTravelReimburse)),
    path('api/getmerchantinfo', csrf_exempt(server.getmerchantinfo)),
]